﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000ABD RID: 2749
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class MakeMissionDrinkCsReq : IMessage<MakeMissionDrinkCsReq>, IMessage, IEquatable<MakeMissionDrinkCsReq>, IDeepCloneable<MakeMissionDrinkCsReq>, IBufferMessage
	{
		// Token: 0x170022AD RID: 8877
		// (get) Token: 0x06007AF1 RID: 31473 RVA: 0x0014863F File Offset: 0x0014683F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<MakeMissionDrinkCsReq> Parser
		{
			get
			{
				return MakeMissionDrinkCsReq._parser;
			}
		}

		// Token: 0x170022AE RID: 8878
		// (get) Token: 0x06007AF2 RID: 31474 RVA: 0x00148646 File Offset: 0x00146846
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return MakeMissionDrinkCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170022AF RID: 8879
		// (get) Token: 0x06007AF3 RID: 31475 RVA: 0x00148658 File Offset: 0x00146858
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return MakeMissionDrinkCsReq.Descriptor;
			}
		}

		// Token: 0x06007AF4 RID: 31476 RVA: 0x0014865F File Offset: 0x0014685F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeMissionDrinkCsReq()
		{
		}

		// Token: 0x06007AF5 RID: 31477 RVA: 0x00148668 File Offset: 0x00146868
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeMissionDrinkCsReq(MakeMissionDrinkCsReq other) : this()
		{
			this.isSaveData_ = other.isSaveData_;
			this.eIDKHHGDPAA_ = other.eIDKHHGDPAA_;
			this.cMBKNELNFEM_ = ((other.cMBKNELNFEM_ != null) ? other.cMBKNELNFEM_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007AF6 RID: 31478 RVA: 0x001486C0 File Offset: 0x001468C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public MakeMissionDrinkCsReq Clone()
		{
			return new MakeMissionDrinkCsReq(this);
		}

		// Token: 0x170022B0 RID: 8880
		// (get) Token: 0x06007AF7 RID: 31479 RVA: 0x001486C8 File Offset: 0x001468C8
		// (set) Token: 0x06007AF8 RID: 31480 RVA: 0x001486D0 File Offset: 0x001468D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool IsSaveData
		{
			get
			{
				return this.isSaveData_;
			}
			set
			{
				this.isSaveData_ = value;
			}
		}

		// Token: 0x170022B1 RID: 8881
		// (get) Token: 0x06007AF9 RID: 31481 RVA: 0x001486D9 File Offset: 0x001468D9
		// (set) Token: 0x06007AFA RID: 31482 RVA: 0x001486E1 File Offset: 0x001468E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EIDKHHGDPAA
		{
			get
			{
				return this.eIDKHHGDPAA_;
			}
			set
			{
				this.eIDKHHGDPAA_ = value;
			}
		}

		// Token: 0x170022B2 RID: 8882
		// (get) Token: 0x06007AFB RID: 31483 RVA: 0x001486EA File Offset: 0x001468EA
		// (set) Token: 0x06007AFC RID: 31484 RVA: 0x001486F2 File Offset: 0x001468F2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public PNLHADCBNMN CMBKNELNFEM
		{
			get
			{
				return this.cMBKNELNFEM_;
			}
			set
			{
				this.cMBKNELNFEM_ = value;
			}
		}

		// Token: 0x06007AFD RID: 31485 RVA: 0x001486FB File Offset: 0x001468FB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as MakeMissionDrinkCsReq);
		}

		// Token: 0x06007AFE RID: 31486 RVA: 0x0014870C File Offset: 0x0014690C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(MakeMissionDrinkCsReq other)
		{
			return other != null && (other == this || (this.IsSaveData == other.IsSaveData && this.EIDKHHGDPAA == other.EIDKHHGDPAA && object.Equals(this.CMBKNELNFEM, other.CMBKNELNFEM) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007AFF RID: 31487 RVA: 0x0014876C File Offset: 0x0014696C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.IsSaveData)
			{
				num ^= this.IsSaveData.GetHashCode();
			}
			if (this.EIDKHHGDPAA != 0U)
			{
				num ^= this.EIDKHHGDPAA.GetHashCode();
			}
			if (this.cMBKNELNFEM_ != null)
			{
				num ^= this.CMBKNELNFEM.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007B00 RID: 31488 RVA: 0x001487DA File Offset: 0x001469DA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007B01 RID: 31489 RVA: 0x001487E2 File Offset: 0x001469E2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007B02 RID: 31490 RVA: 0x001487EC File Offset: 0x001469EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.cMBKNELNFEM_ != null)
			{
				output.WriteRawTag(26);
				output.WriteMessage(this.CMBKNELNFEM);
			}
			if (this.IsSaveData)
			{
				output.WriteRawTag(64);
				output.WriteBool(this.IsSaveData);
			}
			if (this.EIDKHHGDPAA != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.EIDKHHGDPAA);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007B03 RID: 31491 RVA: 0x00148864 File Offset: 0x00146A64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.IsSaveData)
			{
				num += 2;
			}
			if (this.EIDKHHGDPAA != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EIDKHHGDPAA);
			}
			if (this.cMBKNELNFEM_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.CMBKNELNFEM);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007B04 RID: 31492 RVA: 0x001488C8 File Offset: 0x00146AC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(MakeMissionDrinkCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.IsSaveData)
			{
				this.IsSaveData = other.IsSaveData;
			}
			if (other.EIDKHHGDPAA != 0U)
			{
				this.EIDKHHGDPAA = other.EIDKHHGDPAA;
			}
			if (other.cMBKNELNFEM_ != null)
			{
				if (this.cMBKNELNFEM_ == null)
				{
					this.CMBKNELNFEM = new PNLHADCBNMN();
				}
				this.CMBKNELNFEM.MergeFrom(other.CMBKNELNFEM);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007B05 RID: 31493 RVA: 0x00148944 File Offset: 0x00146B44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007B06 RID: 31494 RVA: 0x00148950 File Offset: 0x00146B50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 26U)
				{
					if (num != 64U)
					{
						if (num != 80U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.EIDKHHGDPAA = input.ReadUInt32();
						}
					}
					else
					{
						this.IsSaveData = input.ReadBool();
					}
				}
				else
				{
					if (this.cMBKNELNFEM_ == null)
					{
						this.CMBKNELNFEM = new PNLHADCBNMN();
					}
					input.ReadMessage(this.CMBKNELNFEM);
				}
			}
		}

		// Token: 0x04002EFE RID: 12030
		private static readonly MessageParser<MakeMissionDrinkCsReq> _parser = new MessageParser<MakeMissionDrinkCsReq>(() => new MakeMissionDrinkCsReq());

		// Token: 0x04002EFF RID: 12031
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002F00 RID: 12032
		public const int IsSaveDataFieldNumber = 8;

		// Token: 0x04002F01 RID: 12033
		private bool isSaveData_;

		// Token: 0x04002F02 RID: 12034
		public const int EIDKHHGDPAAFieldNumber = 10;

		// Token: 0x04002F03 RID: 12035
		private uint eIDKHHGDPAA_;

		// Token: 0x04002F04 RID: 12036
		public const int CMBKNELNFEMFieldNumber = 3;

		// Token: 0x04002F05 RID: 12037
		private PNLHADCBNMN cMBKNELNFEM_;
	}
}
